package com.ds.infrastructure.hyperspace.container.internal.opentracing.reporter;

import com.ds.infrastructure.hyperspace.common.config.OpentracingConfig;
import com.ds.infrastructure.hyperspace.container.internal.opentracing.impl.TracerSpan;

/**
 * @Author: yaozh
 * @Description:
 */
public interface IOpentracingReporter {
    /**
     * reload config
     *
     * @param opentracingConfig
     */
    void reload(OpentracingConfig opentracingConfig);

    /**
     * save span
     *
     * @param span
     */
    void save(TracerSpan span);

    /**
     * shutdown
     */
    void shutdown();
}
